package com.powerunion.datacollection.dao;

import com.powerunion.datacollection.model.ItemInfo;
import com.powerunion.datacollection.model.query.ItemInfoQuery;

public interface ItemDao {
	public String save(ItemInfo itemInfo)throws DaoException;
		
	public boolean delete(String[] codes) throws DaoException;
	
	public ItemInfo getBykey(String id) throws DaoException;
	
	public ItemInfo getBykey(String id,int itemType) throws DaoException;
	
	public String findItemInfos(ItemInfoQuery query,int start,int limit)throws DaoException;
}
